//
//  HLSearchController.swift
//  MyBlog
//
//  Created by 李芙蓉 on 16/3/4.
//  Copyright © 2016年 hanlei. All rights reserved.
//

import UIKit

class HLSearchController: HLOriginController {

    override func viewDidLoad() {
        
        super.viewDidLoad()
        
        if isVisitor {
            
            view = HLVisitorView(headImageName: "visitordiscover_image_message", description: "visitordiscover_image_message", frame: CGRect(x: 0, y: 0, width: sWidth, height: sHeight))
            
        } else {
            
            return
        }
    }
    
    //加载titleView
    private func setupTitleView () {
        
        navigationItem.titleView = HLSearchTitleView(frame: CGRect(x: 0, y: 0, width: UIScreen.mainScreen().bounds.width, height: 44))
    }

}
